package com.intlke.example.app.enums;

/**
 * <p>描述:</p>
 * <p>Key是Integer类型的常量</p>
 *
 * @author fengwenping
 * @version 1.0.0
 * @since 2024/11/10 22:22
 */
public class IntCode implements IEnumProvider<Integer> {

    private final Integer code;
    private final String message;

    public IntCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    @Override
    public Integer getCode() {
        return code;
    }

    @Override
    public String getMessage() {
        return message;
    }
}
